package com.example.springboot.springsecurity.controller;

/**
 * 判断json/html 请求 返回不同的结果
 *
 * @ 注解@ResponseStatus ：响应状态码 UNAUTHORIZED(401, "Unauthorized")
 * Created by Fant.J.
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {
    @RequestMapping("/signIn.html")
    public String demo() {
        return "signIn";
    }
}
